package com.sibu.yx.promotion.admin.web.support.model;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * Created with IntelliJ IDEA.
 * User: qiujingwang
 * Date: 2016/9/1
 * Description:
 */
public class PhonePasswordToken extends UsernamePasswordToken {
    public PhonePasswordToken() {
    }

    public PhonePasswordToken(String username, char[] password) {
        super(username, password);
    }

    public PhonePasswordToken(String username, String password) {
        super(username, password);
    }

    public PhonePasswordToken(String username, char[] password, String host) {
        super(username, password, host);
    }

    public PhonePasswordToken(String username, String password, String host) {
        super(username, password, host);
    }

    public PhonePasswordToken(String username, char[] password, boolean rememberMe) {
        super(username, password, rememberMe);
    }

    public PhonePasswordToken(String username, String password, boolean rememberMe) {
        super(username, password, rememberMe);
    }

    public PhonePasswordToken(String username, char[] password, boolean rememberMe, String host) {
        super(username, password, rememberMe, host);
    }

    public PhonePasswordToken(String username, String password, boolean rememberMe, String host) {
        super(username, password, rememberMe, host);
    }

    /*@Override
    public Object getCredentials() {
        return new String(super.getPassword());
    }*/
}
